package edu.bistu.alumnus.domain;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class BaseAlumnus extends BaseObject {

	/**
	 * 标题
	 */
	@Column(name = "zero_f_s_title", unique = false, nullable = false, length = 50)
	private String title;

	/**
	 * 发布单位
	 */
	@Column(name = "zero_f_s_releaseUnit", unique = false, nullable = false, length = 50)
	private String releaseUnit;

	/**
	 * 发布人
	 */
	@Column(name = "zero_f_s_releasePerson", unique = false, nullable = false, length = 20)
	private String releasePerson;

	/**
	 * 内容
	 */
	@Column(name = "zero_f_s_mainContent", unique = false, nullable = false, length = 1000)
	private String mainContent;

	/**
	 * 附件存放目录，删除该消息时直接删除该目录及其子文件即可
	 */
	@Column(name = "zero_f_s_attachementPath", unique = false, nullable = false, length = 50)
	private String attachementPath;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getReleaseUnit() {
		return releaseUnit;
	}

	public void setReleaseUnit(String releaseUnit) {
		this.releaseUnit = releaseUnit;
	}

	public String getReleasePerson() {
		return releasePerson;
	}

	public void setReleasePerson(String releasePerson) {
		this.releasePerson = releasePerson;
	}

	public String getMainContent() {
		return mainContent;
	}

	public void setMainContent(String mainContent) {
		this.mainContent = mainContent;
	}

	public String getAttachementPath() {
		return attachementPath;
	}

	public void setAttachementPath(String attachementPath) {
		this.attachementPath = attachementPath;
	}

}
